package com.hamster.tools.i18nManger.commands
{
	import com.hamster.tools.i18nManger.model.PropertyItemVOProxy;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	public class SaveNewItemsCommand extends SimpleCommand
	{
		public function SaveNewItemsCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			var proxy:PropertyItemVOProxy = this.facade.retrieveProxy(PropertyItemVOProxy.NAME) as PropertyItemVOProxy;
			proxy.writeNewItemsToFile();
		}
	}
}